/*
* INSANE - Interactive Structural Analysis Environment
*
* Copyright (C) 2003-2005
* Universidade Federal de Minas Gerais
* Escola de Engenharia
* Departamento de Engenharia de Estruturas
* 
* Author's email :    insane@dees.ufmg.br
* Author's website :  http://www.dees.ufmg.br/insane
* 
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
package br.ufmg.dees.insane.util.numericalIntegration;

import java.io.Serializable;

/**
*A class representing a IntegrationOrder.
*
*@author Lucas, Marcelo & Pitangueira, Roque
*@version 1.0
*@since May 2004
*/

public class IntegrationOrder implements Serializable
{
	private static final long serialVersionUID = 1L;

	/** The label of this IntegrationOrder.*/
	protected String label;
	
	/** The integration order in xi direction.*/
	protected int xiDir = 0;
	
	/** The integration order in eta direction.*/
	protected int etaDir = 0;
	
	/** The integration order in zeta direction.*/
	protected int zetaDir = 0;
	
//********************************************************************************
	
	/** Constructs an IntegrationOrder and sets xi, eta and zeta integration orders.*/
	public IntegrationOrder(int a, int b, int c)
	{
		xiDir = a;
		etaDir = b;
		zetaDir = c;
		label = (String)(a+" "+b+" "+c);
	}
	
//********************************************************************************
	
	/** Returns the label of this IntegrationOrder.
	*@return The label of this IntegrationOrder.
	*/
	public String getLabel()
	{
		return label;
	}
	
	/** Sets the label of this IntegrationOrder.
	*@param a The label of this IntegrationOrder.
	*/
	public void setLabel(String a)
	{
		label = a;
	}
	
//********************************************************************************
	/** Returns the integration order in qsi direction.
	*@return The integration order in qsi direction.
	*/
	public int getXiIntegOrder()
	{
		return xiDir;
	}
	
	
	/** Sets the integration order in qsi direction.
	*@param a The integration order in qsi direction.
	*/
	public void setXiIntegOrder(int a)
	{
		xiDir = a;
	}
	
//********************************************************************************
	/** Returns the integration order in eta direction.
	*@return The integration order in eta direction.
	*/
	public int getEtaIntegOrder()
	{
		return etaDir;
	}
	
	
	/** Sets the integration order in eta direction.
	*@param a The integration order in eta direction.
	*/
	public void setEtaIntegOrder(int a)
	{
		etaDir = a;
	}
	
//********************************************************************************
	
	/** Returns the integration order in zeta direction.
	*@return The integration order in zeta direction.
	*/
	public int getZetaIntegOrder()
	{
		return zetaDir;
	}
	
	
	/** Sets the integration order in zeta direction.
	*@param a The integration order in zeta direction.
	*/
	public void setZetaIntegOrder(int a)
	{
		zetaDir = a;
	}
	
//********************************************************************************	
}
